package com.neuedu.mybatis.po;

import java.util.Date;
import java.util.List;

/**
 * @author 金山
 * 项目：mybatis-learn
 * site: https://blog.fulfill.com.cn
 * 描述
 * @data 2025/3/614:36
 */
public class Dept {
    private Integer deptno;
    private String dname;
    private String loc;

    private List<Dept> empList;

    public Integer getDeptno() {
        return deptno;
    }

    public void setDeptno(Integer deptno) {
        this.deptno = deptno;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc;
    }

    public List<Dept> getEmpList() {
        return empList;
    }

    public void setEmpList(List<Dept> empList) {
        this.empList = empList;
    }

    @Override
    public String toString() {
        return "Dept{" +
                "deptno=" + deptno +
                ", dname='" + dname + '\'' +
                ", loc='" + loc +
                '}';
    }
}
